package com.lyz.myself.service;

import com.lyz.myself.pojo.Po.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @program: myself
 * @Date: 2019/3/1 9:30
 * @Author: Mr.Deng
 * @Description:
 */
public interface LogService {

    /**
     *  添加日志-
     * @mbg.generated 2019-03-01
     */
    int insertSelective(Log record);

    /**
     *删除日志
     * @mbg.generated 2019-03-01
     */
    int deleteByPrimaryKey(List<Integer> list);


    /**
     *修改日志
     * @mbg.generated 2019-03-01
     */
    int updateByPrimaryKeySelective(Log record);

    /**
     * 根据线索id查询沟通日志
     * @param leads_id
     * @return
     */
    List<Map<String, String>> selectLog(Integer leads_id,Integer company_id);
}
